package com.dalei.vds.environment;

public class SystemStatus {
	
	private static boolean isLoggedOn = false;
	
	private static int userId;
	
	private static String userName;
	
	private static int deviceId;
	
	private static long sessionTimeout;

	public static boolean isLoggedOn() {
		return isLoggedOn;
	}
	
	public static int getUserId() {
		return userId;
	}

	public static void setUserId(int userId) {
		SystemStatus.userId = userId;
	}

	public static String getUserName() {
		return userName;
	}
	
	public static void setUserName(String userName) {
		SystemStatus.userName = userName;
	}
	
	public static int getDeviceId() {
		return deviceId;
	}

	public static void setDeviceId(int deviceId) {
		SystemStatus.deviceId = deviceId;
	}

	public static long getSessionTimeout() {
		return sessionTimeout;
	}

	public static void setSessionTimeout(long sessionTimeout) {
		SystemStatus.sessionTimeout = sessionTimeout;
	}

	public static void setLoggedOn(boolean isLoggedOn) {
		SystemStatus.isLoggedOn = isLoggedOn;
	}
}
